package com.neu.flashmall.order.service.impl;

import com.neu.flashmall.order.entity.OmsPayment;
import com.neu.flashmall.order.mapper.OmsPaymentMapper;
import com.neu.flashmall.order.service.OmsPaymentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OmsPaymentServiceImpl implements OmsPaymentService {
    @Resource
    private OmsPaymentMapper omsPaymentMapper;

    @Override
    public Integer insert(OmsPayment omsPayment) {

        return omsPaymentMapper.insert(omsPayment);
    }
}
